package jy.huodong.tools;

import org.json.JSONException;
import org.json.JSONObject;

import android.app.Application;
import android.widget.Toast;

import com.baidu.location.LocationChangedListener;
import com.baidu.location.LocationClient;
import com.baidu.location.ReceiveListener;


public class LocationBaidu extends Application {

	public LocationClient mLocationClient = null;
	private String mData;

	@Override
	public void onCreate() {
		mLocationClient = new LocationClient(this);
		
	}

	public void logMsg(String str) {
		try {
			mData = str;
			Toast.makeText(getApplicationContext(), mData, 5).show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	

}